package com.ruoyi.project.para.smActXrt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 汇率对象 sm_act_xrt
 *
 * @author gang.wei
 * @date 2020-04-07
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "sm_act_xrt")
public class SmActXrt implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 逻辑主键 */
    @TableId(value = "primary_key")
    private String primaryKey;

    /** 数据日期 */
    @Excel(name = "数据日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dataDate;

    /** 货币码 */
    @Excel(name = "货币码")
    private String ccyCode;

    /** 第二货币 */
    @Excel(name = "第二货币")
    private String secCcy;

    /** 汇率种类码(1-买入价 2-卖出价 3-现钞买入价 4-中间价 5-平仓价 6-决算价 7-美元内部折合价 8-人民银行基准价 9-市场价) */
    @Excel(name = "汇率种类码", readConverterExp = "1=买入价,2=卖出价,3=现钞买入价,4=中间价,5=平仓价,6=决算价,7=美元内部折合价,8=人民银行基准价,9=市场价")
    private String xrtCde;

    /** 启用日期 */
    @Excel(name = "启用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effDate;

    /** 启用时间 */
    @Excel(name = "启用时间")
    private String effTime;

    /** 汇率值 */
    @Excel(name = "汇率值")
    private Double ratVal;

    /** 汇率标识 */
    @Excel(name = "汇率标识")
    private Integer ratFlg;

    /** 建档柜员 */
    @Excel(name = "建档柜员")
    private String creTlr;

    /** 建档日期 */
    @Excel(name = "建档日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creDat;

    /** 记录情况 */
    @Excel(name = "记录情况")
    private Integer recSts;

}
